package com.autoapitest.system.domain;

import com.autoapitest.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("project_base_user")
public class ProjectBaseUser extends BaseEntity {

    /**
     * 项目主键
     */
    @TableId(value = "project_userid", type = IdType.ASSIGN_UUID)
    private String projectUserid;

    /**
     * 项目名称
     */
    private String projectId;

    /**
     * 用户ID
     */
    private Long userId;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;


    public String getProjectUserid() {
        return projectUserid;
    }

    public void setProjectUserid(String projectUserid) {
        this.projectUserid = projectUserid;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public ProjectBaseUser() {
    }


    public ProjectBaseUser(String projectUserid, String projectId, Long userId, String delFlag) {
        this.projectUserid = projectUserid;
        this.projectId = projectId;
        this.userId = userId;
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "ProjectBaseUser{" +
                "projectUserid='" + projectUserid + '\'' +
                ", projectId='" + projectId + '\'' +
                ", userId='" + userId + '\'' +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
